/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core;

import org.jboss.netty.channel.Channel;
import org.jboss.netty.channel.ChannelHandlerContext;

/**
 *
 * @author MOI
 */
public class Connection {
    private ChannelHandlerContext ctx;
    public Connection(ChannelHandlerContext _ctx)
    {
        ctx=_ctx;
        
    }
    public ChannelHandlerContext getContext()
    {
        return ctx;
    }
    public Channel getChannel()
    {
        return ctx.getChannel();
    }
}
